package org.example.task.converter;

import org.example.task.model.dto.permission.InsertPermissionDTO;
import org.example.task.model.dto.permission.UpdatePermissionDTO;
import org.example.task.model.po.Permission;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface PermissionConverterMapper {
    Permission insertPermissionDTOToPermission(InsertPermissionDTO permissionDTO);
    Permission updatePermissionDTOToPermission(UpdatePermissionDTO permissionDTO);
}
